﻿using EM.OA.DataModel.DBModel;
using EM.OA.WebCommon.Base;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
using System.Web;
namespace EM.OA.Portal.Models
{
    public class CarInfoModels : BaseViewModel
    {
        /// <summary>
        /// 车辆ID
        /// </summary>		
        [Display(Name = "车辆ID")]
        public Guid? CarID { get; set; }
        /// <summary>
        /// 车辆品牌
        /// </summary>		
        [Display(Name = "车辆品牌")]
        public string CarBrand { get; set; }
        /// <summary>
        /// 车辆类型
        /// </summary>		
        [Display(Name = "车辆类型")]
        public string CarKind { get; set; }
        /// <summary>
        /// 车牌号码
        /// </summary>		
        [Display(Name = "车牌号码")]
        public string CarNumber { get; set; }
        /// <summary>
        /// 车辆照片
        /// </summary>		
        [Display(Name = "车辆照片")]
        public string CarPhote { get; set; }
        /// <summary>
        /// 购买价格
        /// </summary>		
        [Display(Name = "购买价格")]
        public int? Price { get; set; }
        /// <summary>
        /// 购买日期
        /// </summary>		
        [Display(Name = "购买日期")]
        public DateTime PurchaseDateTime { get; set; }
        /// <summary>
        /// 发动机编号
        /// </summary>		
        [Display(Name = "发动机编号")]
        public string EngineCode { get; set; }
        /// <summary>
        /// 排气量
        /// </summary>		
        [Display(Name = "排气量")]
        public double? Displacement { get; set; }
        /// <summary>
        /// 容纳人数
        /// </summary>		
        [Display(Name = "容纳人数")]
        public int? Capacity { get; set; }
        /// <summary>
        /// 状态
        /// </summary>		
        [Display(Name = "状态")]
        public byte? Status { get; set; }
        /// <summary>
        /// 备注
        /// </summary>		
        [Display(Name = "备注")]
        public string Remarks { get; set; }


        //汽车图片上传
        public string headFileName { get; set; }

        public int x { get; set; }


        public int y { get; set; }


        public int width { get; set; }


        public int height { get; set; }
    }
}